﻿@model IEnumerable<WebVideo.EntityQuestions_MultipleChoice>
@{
    Random rand = new Random();
    int index = rand.Next(0, Model.Count());
    WebVideo.EntityQuestions_MultipleChoice v = Model.ElementAt(index);
    int? de = v.EntityVideo.EntityTypeVideo.Point / 100;

    DateTime date = DateTime.Now;
    int sec = date.Second;
    
    if(sec < de)
    {
        de = sec;
    }
    else
    {
        if(sec%2 == 0)
        {
        de = de/2 + sec/10;
        }
        else
        {
            de = de / 2 + sec / 10;
        }
    }

    
}

                <div class="hd">@Html.Raw(v.Des)</div>

                <div class="cnt">
                    <label>
                        <input type="radio" name="Ques" value ="a" /> @v.QuesA</label>
                    <label>
                        <input type="radio" name="Ques" value ="b" /> @v.QuesB</label>
                    <label>
                        <input type="radio" name="Ques" value ="c"/>@v.QuesC</label>
                    <label>
                        <input type="radio" name="Ques" value ="d" /> @v.QuesD</label>
                </div>
                <!--/ .cnt--> 
 
<input type ="hidden" id ="ResultQuetion" value="@v.Result.ToString()"/>
<input type ="hidden" id ="ImageQuetion" value="@v.Image"/>
<input type ="hidden" id ="ImageDeplay" value="@de"/>
           

 